package com.tema1.Lab3;

public class Shirt {

	public int shirtID = 0;
	public String description = "description required-";
	public char colorCode = 'U';// los colores son R=rojo, B=azul,G=verde, U=sin
								// definir
	public double price = 0.0;
	public int quantityInStock = 0;

	/**
	 * Constructor de la clase Shirt por defecto
	 */

	public Shirt() {
	}

	/**
	 * Constructor de la clase Shirt
	 * 
	 * @param int id
	 * @param Stromg
	 *            desc
	 * @param char color
	 * @param double precio
	 * @param int stock
	 * 
	 */

	public Shirt(int id, String desc, char color, double precio, int stock) {
		this.shirtID = id;
		this.description = desc;
		this.colorCode = color;
		this.price = precio;
		this.quantityInStock = stock;
	}

	/**
	 * Metodo encargado de imprimir en consola la informacion de la remera.
	 */

	public void displayShirtInformation() {
		System.out.println("Shirt ID: " + shirtID);
		System.out.println("Shirt description:" + description);
		System.out.println("Color Code: " + colorCode);
		System.out.println("Shirt price: " + price);
		System.out.println("Quantity in stock: " + quantityInStock);
	}

	public int shirtID() {
		return shirtID;
	}
}
